package com.gewu.pm.ui.activity.filter;

import android.content.Context;
import android.content.Intent;

import com.gewu.pm.ui.activity.filter.base.BaseFilterActivity;
import com.gewu.pm.ui.activity.filter.config.FilterConfig;
import com.gewu.pm.ui.activity.filter.config.SelectorType;

/**
 * 筛选-冰柜统计
 */
public final class FilterFreezerStatisticsActivity extends BaseFilterActivity {
    
    public static void start(Context context) {
        Intent intent = new Intent(context, FilterFreezerStatisticsActivity.class);
        context.startActivity(intent);
    }
    
    @Override
    protected FilterConfig getFilterConfig() {
        return new FilterConfig.Builder()
                // 终端
                .addTextSelector("terminal", "终端", "请选择终端", SelectorType.TERMINAL, true)
                // 配送商（多选）
                .addTextSelector("distributor", "配送商", "请选择配送商", SelectorType.DISTRIBUTOR, true)
                // 业务员
                .addTextSelector("salesperson", "业务员", "请选择业务员", SelectorType.SALESPERSON, true)
                // 销售区域
                .addTextSelector("sales_area", "销售区域", "请选择销售区域", SelectorType.SALES_REGION, true)
                .build();
    }
}
